package com.example.Gethome;

import com.example.Gethome.utils.SendMSNMessage;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.util.ResourceUtils;
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport;


// 发送短信成功
@SpringBootApplication
public class GethomeApplication extends WebMvcConfigurationSupport {
	@Override
	public void addResourceHandlers(ResourceHandlerRegistry registry) {
		registry.addResourceHandler("/File/**").addResourceLocations("file:File/");
	    registry.addResourceHandler("/static/**").addResourceLocations(ResourceUtils.CLASSPATH_URL_PREFIX + "/static/");
	    super.addResourceHandlers(registry);
	}


	public static void main(String[] args) {
		SpringApplication.run(GethomeApplication.class, args);
		for (int i = 0; i < 40; i++) {
			System.out.print("\u265E");
		}
	}

}
